package com.world.request.dto;

import java.util.Objects;

/**
 * 用户
 *
 * @author WangYX
 * @version 1.0.0
 * @date 2023/11/29 10:58
 */
public class UserVO {

    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private String sex;

    /**
     * 图片
     */
    private String picUrl;

    /**
     * 地区
     */
    private Long areaId;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 登录账户
     */
    private String loginName;

    /**
     * 所属教派
     */
    private Long religiousSectId;

    /**
     * 天谴值
     */
    private Long wrathOfHeavenId;

    /**
     * 信仰id
     */
    private Long beliefId;

    /**
     * 所属种族
     */
    private Long raceId;

    /**
     * 出生日期
     */
    private String birthday;

    /**
     * 生辰八字
     */
    private String birthBaZi;

    /**
     * 境界id
     */
    private Long realmId;

    /**
     * 体质
     */
    private Long constitutionId;

    /**
     * 死亡日期
     */
    private String deathday;

    /**
     * 死亡八字
     */
    private String dieBaZi;

    /**
     * 死亡原因
     */
    private String dieReason;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 类型
     */
    private String type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public Long getReligiousSectId() {
        return religiousSectId;
    }

    public void setReligiousSectId(Long religiousSectId) {
        this.religiousSectId = religiousSectId;
    }

    public Long getWrathOfHeavenId() {
        return wrathOfHeavenId;
    }

    public void setWrathOfHeavenId(Long wrathOfHeavenId) {
        this.wrathOfHeavenId = wrathOfHeavenId;
    }

    public Long getBeliefId() {
        return beliefId;
    }

    public void setBeliefId(Long beliefId) {
        this.beliefId = beliefId;
    }

    public Long getRaceId() {
        return raceId;
    }

    public void setRaceId(Long raceId) {
        this.raceId = raceId;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getBirthBaZi() {
        return birthBaZi;
    }

    public void setBirthBaZi(String birthBaZi) {
        this.birthBaZi = birthBaZi;
    }

    public Long getRealmId() {
        return realmId;
    }

    public void setRealmId(Long realmId) {
        this.realmId = realmId;
    }

    public Long getConstitutionId() {
        return constitutionId;
    }

    public void setConstitutionId(Long constitutionId) {
        this.constitutionId = constitutionId;
    }

    public String getDeathday() {
        return deathday;
    }

    public void setDeathday(String deathday) {
        this.deathday = deathday;
    }

    public String getDieBaZi() {
        return dieBaZi;
    }

    public void setDieBaZi(String dieBaZi) {
        this.dieBaZi = dieBaZi;
    }

    public String getDieReason() {
        return dieReason;
    }

    public void setDieReason(String dieReason) {
        this.dieReason = dieReason;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        UserVO userVO = (UserVO) o;
        return Objects.equals(id, userVO.id) && Objects.equals(name, userVO.name) && Objects.equals(nickname, userVO.nickname) && Objects.equals(age, userVO.age) && Objects.equals(sex, userVO.sex) && Objects.equals(picUrl, userVO.picUrl) && Objects.equals(areaId, userVO.areaId) && Objects.equals(address, userVO.address) && Objects.equals(loginName, userVO.loginName) && Objects.equals(religiousSectId, userVO.religiousSectId) && Objects.equals(wrathOfHeavenId, userVO.wrathOfHeavenId) && Objects.equals(beliefId, userVO.beliefId) && Objects.equals(raceId, userVO.raceId) && Objects.equals(birthday, userVO.birthday) && Objects.equals(birthBaZi, userVO.birthBaZi) && Objects.equals(realmId, userVO.realmId) && Objects.equals(constitutionId, userVO.constitutionId) && Objects.equals(deathday, userVO.deathday) && Objects.equals(dieBaZi, userVO.dieBaZi) && Objects.equals(dieReason, userVO.dieReason) && Objects.equals(status, userVO.status) && Objects.equals(remark, userVO.remark) && Objects.equals(type, userVO.type);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, name, nickname, age, sex, picUrl, areaId, address, loginName, religiousSectId, wrathOfHeavenId, beliefId, raceId, birthday, birthBaZi, realmId, constitutionId, deathday, dieBaZi, dieReason, status, remark, type);
    }


    @Override
    public String toString() {
        return "UserVO{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\'' +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", picUrl='" + picUrl + '\'' +
                ", areaId=" + areaId +
                ", address='" + address + '\'' +
                ", loginName='" + loginName + '\'' +
                ", religiousSectId=" + religiousSectId +
                ", wrathOfHeavenId=" + wrathOfHeavenId +
                ", beliefId=" + beliefId +
                ", raceId=" + raceId +
                ", birthday='" + birthday + '\'' +
                ", birthBaZi='" + birthBaZi + '\'' +
                ", realmId=" + realmId +
                ", constitutionId=" + constitutionId +
                ", deathday='" + deathday + '\'' +
                ", dieBaZi='" + dieBaZi + '\'' +
                ", dieReason='" + dieReason + '\'' +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}

